package vuze.rss.ui;

import org.eclipse.swt.widgets.Composite;
import org.gudy.azureus2.plugins.PluginInterface;
import org.gudy.azureus2.ui.swt.plugins.UISWTViewEvent;
import org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener;
import vuze.rss.RssPlugin;

@SuppressWarnings("unchecked")
public class RssView implements UISWTViewEventListener{

    private PluginInterface pluginInterface = null;

    public RssView(){
        pluginInterface = RssPlugin.getPluginInterface();
    }

    public void initialize(Composite parent) {


    }

    public boolean eventOccurred(UISWTViewEvent event){
        switch (event.getType()){
            case UISWTViewEvent.TYPE_INITIALIZE:
                initialize((Composite) event.getData());
                break;

            default:
                break;
        }

        return true;

    }
}
